package com.sqfw.project.wp.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 12345工单表对象 wp_info_receive
 *
 * @author lx
 * @date 2023-07-04
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WpInfoReceive extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Excel(name = "主键")
    private String scid;

    /**
     * 工单编号
     */
    @Excel(name = "工单编号")
    private String wpid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String lockFlag;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    private String customerName;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String phoneno;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String mobile;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String address;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String gender;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String profession;

    /**
     * 地区
     */
    @Excel(name = "地区")
    private String district;

    /**
     * 来电类别
     */
    @Excel(name = "来电类别")
    private String wpType;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String class1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String class2;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String class3;

    /**
     * 内容描述
     */
    @Excel(name = "内容描述")
    private String summary;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String relAddress;

    /**
     * 区域
     */
    @Excel(name = "区域")
    private String relDistrict;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String relName;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String relPhoneno;

    /**
     * 工单备注
     */
    @Excel(name = "工单备注")
    private String note;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /*更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    /**
     * 创建人工号
     */
    @Excel(name = "创建人工号")
    private String sender;

    /**
     * 上次处理描述
     */
    @Excel(name = "上次处理描述")
    private String lastmessage;

    /**
     * 流转状态
     */
    @Excel(name = "流转状态")
    private String state;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ctrlState;

    /**
     * 处理部门
     */
    @Excel(name = "处理部门")
    private String deptLevel2;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String level2Operator;

    /**
     * 处理时限
     */
    @Excel(name = "处理时限")
    private Long timelimite;

    /**
     * 是否回访
     */
    @Excel(name = "是否回访")
    private String visitState;

    /**
     * 下次流转状态
     */
    @Excel(name = "下次流转状态")
    private String nextState;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardtype;

    /**
     * 身份证
     */
    @Excel(name = "身份证")
    private String cardnum;

    /**
     * 优先等级
     */
    @Excel(name = "优先等级")
    private String priority;

    /**
     * 协办部门1
     */
    @Excel(name = "协办部门1")
    private String deptLevel2vice1;

    /**
     * 协办部门2
     */
    @Excel(name = "协办部门2")
    private String deptLevel2vice2;

    /**
     * 是否退回
     */
    @Excel(name = "是否退回")
    private String backState;

    /**
     * 处理截止时间
     */
    @Excel(name = "处理截止时间")
    private String timeBoundry;

    /**
     * 主办部门上传附件
     */
    @Excel(name = "主办部门上传附件")
    private String level2Upload;

    /**
     * 来电电话---改成身份证号
     */
    @Excel(name = "来电电话---改成身份证号")
    private String callnum;

    /**
     * 来电时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "来电时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date calltime;

    /**
     * 是否已读
     */
    @Excel(name = "是否已读")
    private String readFlag;

    /**
     * 是否催单
     */
    @Excel(name = "是否催单")
    private String hurryFlag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String timeoutFlag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String memoryInfo;

    /**
     * 催单次数
     */
    @Excel(name = "催单次数")
    private Long hurryCount;

    /**
     * 特殊情况（0特殊，1扬言，2其他）
     */
    @Excel(name = "特殊情况", readConverterExp = "0=特殊，1扬言，2其他")
    private String specialState;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String class4;

    /**
     * 工单来源
     */
    @Excel(name = "工单来源")
    private String scidType;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String education;

    /**
     * 年龄范围
     */
    @Excel(name = "年龄范围")
    private String age;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String callid;

    /**
     * 街道
     */
    @Excel(name = "街道")
    private String street;

    /**
     * 居委会
     */
    @Excel(name = "居委会")
    private String committee;

    /**
     * 街道
     */
    @Excel(name = "街道")
    private String relStreet;

    /**
     * 居委会
     */
    @Excel(name = "居委会")
    private String relCommittee;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ismodel;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String serviceId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appstatus;

    /**
     * 工单状态 0：待分配  1已分配  2已收回
     */
    private String status;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isAccountable;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cause;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String smsflag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String disposeCause;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String relationWp;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String wpLevel;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xbdwRead;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String miniStatus;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String threePartsNumber;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String emotion;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String emotionOther;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isrepeat;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hurryReason;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hurryReason1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hurryTime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hurryTime1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hurryTimeflag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hfState;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fact;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String factInfo;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appealInfo;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appeal;

    /**
     * $column.columnComment
     */
    private String serviceBack;

    /**
     * $column.columnComment
     */
    private String feeling;

    /**
     * $column.columnComment
     */
    private String replyPoint;

    /**
     * $column.columnComment
     */
    private String hurryName;

    /**
     * $column.columnComment
     */
    private Date countDownTime;

    /**
     * $column.columnComment
     */
    private String isLdsh;

    /**
     * $column.columnComment
     */
    private String ldshReason;

    /**
     * $column.columnComment
     */
    private Date satisTime;

    /**
     * $column.columnComment
     */
    private String isTransfer;

    /**
     * $column.columnComment
     */
    private String wpRefuse;

    /**
     * $column.columnComment
     */
    private String wpAccessDate;

    /**
     * 12345工单编号
     */
    @Excel(name = "12345工单编号")
    private String tsWpid;

    /**
     * 工单来源
     */
    @Excel(name = "工单来源")
    private String wpSource;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timestamp;

    /**
     * 当前处理人
     */
    @Excel(name = "当前处理人")
    private String currWorker;

    /**
     * 当前处理开始时间
     */
    @Excel(name = "当前处理开始时间")
    private Long currWorkTime;

    /**
     * 工单类型标示：0：转送单,1：为督办单
     */
    @Excel(name = "工单类型标示")
    private String supervision;

    /**
     * 工单类型标示：12345附件地址
     */
    @Excel(name = "12345附件地址")
    private String appealUpload;

    private Integer phoneCalls;

    private String mainNodename;

    private String childNodeName;

    private List<WpHandleLog> WpHandleLogs;

    //内容类别查询字段
    private List<List<String>> classAllFind;

    /*前端传来的分类数组，查询需要*/
    private List<String> classAll;

    //排序  字段
    private String prop;

    //排序  ascending（正序），descending（倒序）
    private String order;

    //sql拼接排序
    private String orderBy;

    private String rowItem;

    /**  收回使用的字段 主键idList*/
    private List<String> scidList;



    // 数据库新增的字段----五级内容分类
    /** 新行业分类1级 */
    private String newClass1;
    /** 新行业分类2级 */
    private String newClass2;
    /** 新行业分类3级 */
    private String newClass3;
    /** 新行业分类4级 */
    private String newClass4;
    /** 新行业分类5级 */
    private String newClass5;





}
